"""
2.文件写入方法


"""
import os
os.chdir(r"D:\PycharmProjects\national_computer_rank_examination\文件和数据维度")

f = open("test.txt", 'w',encoding="utf-8")
f.write("陌上花开，可缓缓归矣")
f.close()